//
//  ZNLDiscoverViewController.swift
//  My_Weibo
//
//  Created by 正能量 on 16/8/12.
//  Copyright © 2016年 正能量. All rights reserved.
//

import UIKit

class ZNLDiscoverViewController: ZNLRootViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        visitorView?.setUpInfo("visitordiscover_image_message", title: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
    }
    
    override func loadData() {
        //开始刷新数据
        refresh.beginRefreshing()
        
        self.dataCount += 10
        
        //结束刷新
        self.refresh.endRefreshing()
        self.pullUpView.stopAnimating()
        
        self.tableview.reloadData()
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    private var dataCount = 0
}
